package com.ant.storage.service;

import com.ant.storage.common.ResultVo;
import com.ant.storage.dto.SalesDto;
import com.ant.storage.pojo.Sales;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author melon
 * @since 2022-11-03
 */
public interface ISalesService extends IService<Sales> {

    PageInfo<Sales> querylist(SalesDto dto);

    ResultVo saveSales(Sales sales);

    Sales getSalesByID(Integer id);

    ResultVo updates(Integer id);
}
